<% provide(:title, 'Sign up') %>
<h1>用 户 注 册</h1>
<div class="row">
	<div class="span6 offset3">
		<%= form_for(@user) do |f|%>
			<%= f.label :name,"账   号" %>
			<%= f.text_field :name%>

			<%= f.label :email,"邮   箱" %>
			<%= f.text_field :email %>

			<%= f.label :password,"密   码" %>
			<%= f.password_field :password %>

			<%= f.label :password_confirmation,"确认密码" %>
			<%= f.password_field :password_confirmation %>

			<%= f.submit "注  册",class: "btn btn-large btn-primary" %>
		<% end %>
	</div>
</div>